<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>用户首页</title>
    <link href="/css/common.css" rel="stylesheet" type="text/css" /> 
    <link href="/css/account.css" rel="stylesheet" type="text/css" />
	<script src="/js/jquery.js" language="javascript" type="text/javascript"></script>
    <script src="/js/common.js" language="javascript" type="text/javascript"></script>


    <script type="text/javascript" language="javascript">
		$(function(){
			$("#addexp").click(function(){
				if($(this).text()=="添加竞猜详细说明"){
					$(this).text("隐藏竞猜详细说明");
					this.className = "dotup";
					$("#txtexp").fadeIn();
					$("#txtexp").find("input[type=hidden]").val(1);
				}
				else{
					$(this).text("添加竞猜详细说明");
					this.className = "dotdown";
					$("#txtexp").fadeOut();
					$("#txtexp").find("input[type=hidden]").val(0);//当值为0的时候不取详细说明数据。
				}
			}),
			inputDisable(),
			$("#additem").click(function(){
				$("#itemlist").removeClass("hid");
				$(this).hide();
			});
			$(".userinfo input[type=text]").keyup(function(){
				funradio(this);
			}),
			$(".userinfo input[type=text]").keydown(function(){
				funradio(this);
			})
		})
		var inputDisable = function(){
			$(".userinfo input[type=radio]").attr("disabled","disabled");
		}
		var funradio = function(text){
			if(text.value.length!=0){
				$(text).next().attr("disabled","");
			}
			else{
				$(text).next().attr("disabled","disabled");
				$(text).next().attr("checked","");
			}
		}
    </script>

</head>
<body>
    <div id="Header">
        <ul class="logo">
            <li><a>
                <img src="images/logo.png" alt="加油网" /></a></li>
        </ul>
        <ul class="menu">
            <li><a href="#" class="sel">首页</a></li>
            <li><a href="#">个人空间</a></li>
            <li><a href="#">好友</a></li>
            <li><a href="#">随便看看</a></li>
            <li><a href="#">消息<span>(12)条</span></a></li>
        </ul>
        <ul class="search">
            <li>
                <form action="">
                <input type="text" class="text" /><input type="submit" class="submit" value="" />
                </form>
            </li>
        </ul>
    </div>
    <div id="body">
        <div class="left">
            <ul class="leftm">
                <li class="h5"></li>
                <li><a class="lm_space" href="#">个人空间</a></li>
                <li><a class="lm_friend" href="#">我的好友</a></li>
                <li><a class="lm_see" href="#">随便看看</a></li>
                <li><span><a href="#">发表</a></span><a class="lm_blog" href="#">日志</a></li>
                <li><span><a href="#">上传</a></span><a class="lm_album" href="#">相册</a></li>
                <li><a class="lm_gift" href="#">礼物</a></li>
                <li><span><a href="#">发起投票</a></span><a class="lm_vote" href="#">投票</a></li>
                <li><a class="lm_circle" href="#">圈子</a></li>
                <li><span><a href="#">发起竞猜</a></span><a class="lm_guess" href="#">竞猜</a></li>
                <li class="h6"></li>
            </ul>
            <form action="">
            <ul class="item addfriend">
                <h1>
                    添加好友</h1>
                <li>直接加朋友</li>
                <li>
                    <input type="text" /></li>
                <li>
                    <input type="submit" class="input_btn" value="加为好友" /></li>
                <li class="h6"></li>
            </ul>
            </form>
        </div>
        <div class="right">
            <ul class="account"> 
                <h1>
                    <a href="javascript:;" onclick="history.go(-1)">返回上一页</a><p>
                        <b>隐私设置：</b></p>
                </h1>
                <li>
                    <div class="accdiv">
                        <h2>
                            <a href="竞猜题目.html"><span>竞猜题目</span></a> <a href="发起竞猜.html" class="sel"><span>发起竞猜</span></a>
                            <a href="好友的竞猜.html"><span>好友的竞猜</span></a> <a href="我发起的.html"><span>我发起的</span></a>
                            <a href="我参与的.html"><span>我参与的</span></a> <a href="排行榜.html" class="last"><span>排行榜</span></a>
                            <p class="fr fs14">
                                我的现金：<b class="red">1,000,900</b></p>
                        </h2>
                        <form action="">
                        <ul class="userGuess">
                            <li class="fs14 b">我要发起一个竞猜题</li>
                        </ul>
                        <ul class="userinfo">
                            <li><b>竞猜题目：</b><input type="text" size="40" />
                                <a href="#" class="dotdown" id="addexp">添加竞猜详细说明</a> </li>
                            <li id="txtexp" class="hid"><b>详细说明：</b><textarea></textarea><input type="hidden"
                                value="0" />
                            </li>
                        </ul>
                        <ul class="userinfo">
                            <li><b>结果1：</b><input type="text" size="40" /><input id="item1" type="radio" name="right" /></li>
                            <li><b>结果2：</b><input type="text" size="40" /><input id="item2" type="radio" name="right" /></li>
                            <li><b>结果3：</b><input type="text" size="40" /><input id="item3" type="radio" name="right" /></li>
                            <li><b>结果4：</b><input type="text" size="40" /><input id="item4" type="radio" name="right" /></li>
                            <li><b>结果5：</b><input type="text" size="40" /><input id="item5" type="radio" name="right" /></li>
                            <li><b>结果6：</b><input type="text" size="40" /><input id="item6" type="radio" name="right" /></li>
                            <li><b>结果7：</b><input type="text" size="40" /><input id="item7" type="radio" name="right" /></li>
                            <li><b>结果8：</b><input type="text" size="40" /><input id="item8" type="radio" name="right" /></li>
                            <li><b>结果9：</b><input type="text" size="40" /><input id="item9" type="radio" name="right" /></li>
                            <li><b>结果10：</b><input type="text" size="40" /><input id="item10" type="radio" name="right" /> <a id="additem" class="dotdown" href="javascript:;">增加项目</a></li>
                        </ul>
                        <ul class="userinfo hid" id="itemlist">
                            <li><b>结果11：</b><input type="text" size="40" /><input id="item11" type="radio" name="right" /></li>
                            <li><b>结果12：</b><input type="text" size="40" /><input id="item12" type="radio" name="right" /></li>
                            <li><b>结果13：</b><input type="text" size="40" /><input id="item13" type="radio" name="right" /></li>
                            <li><b>结果14：</b><input type="text" size="40" /><input id="item14" type="radio" name="right" /></li>
                            <li><b>结果15：</b><input type="text" size="40" /><input id="item15" type="radio" name="right" /></li>
                            <li><b>结果16：</b><input type="text" size="40" /><input id="item16" type="radio" name="right" /></li>
                            <li><b>结果17：</b><input type="text" size="40" /><input id="item17" type="radio" name="right" /></li>
                            <li><b>结果18：</b><input type="text" size="40" /><input id="item18" type="radio" name="right" /></li>
                            <li><b>结果19：</b><input type="text" size="40" /><input id="item19" type="radio" name="right" /></li>
                            <li><b>结果20：</b><input type="text" size="40" /><input id="item20" type="radio" name="right" /></li>
                        </ul>
                        <ul class="userinfo">
                            <h3>
                            </h3>
                            <li><b>参与所需积分：</b><select  onchange="" name="joincost">
                                <option value="10">10</option>
                                <option value="30">30</option>
                                <option value="50">50</option>
                                <option selected value="100">100</option>
                                <option value="200">200</option>
                                <option value="250">250</option>
                                <option value="500">500</option>
                                <option value="800">800</option>
                                <option value="1000">1000</option>
                            </select></li>
                            <li><b>奖励倍率：</b><select  onchange="" name="odds">
                                <option selected value="1">1</option>
                                <option value="2">2</option>
                                <option value="3">3</option>
                                <option value="5">5</option>
                                <option value="8">8</option>
                                <option value="10">10</option>
                                <option value="20">20</option>
                                <option value="50">50</option>
                                <option value="100">100</option>
                            </select></li>
                            <li><b>每人竞猜份额：</b><select  name="maxeveryportion">
                                <option selected value="1">1</option>
                                <option value="2">2</option>
                                <option value="3">3</option>
                            </select></li>
                            <li><b>最多允许份额：</b><select  onclick="" name="maxportion">
                                <option selected value="1">1</option>
                            </select></li>
                            <li><b>竞猜截止时间：</b><input type="text" />
                            </select></li>
                            <li><b>预计公布结果：</b><input type="text" />
                            </select></li>
                        </ul>
                        <ul class="userGuess ugMg30">
                            <li><b class="ugdis">
                                <input type="submit" class="input_btn" value="发起竞猜" /></b> </li>
                        </ul>
                        </form>
                    </div>
                </li>
                <h6>
                </h6>
            </ul>
        </div>
    </div>
    <div class="Clear">
    </div>
    <div id="Footer">
        <ul>
            <li>加油网 (测试版) &copy; 2009</li></ul>
        <ul class="about">
            <li><a href="#">关于我们</a></li>
            <li><a href="#">联系方式</a></li>
            <li><a href="#">意见反馈</a></li>
            <li><a href="#">帮助中心</a></li>
        </ul>
    </div>
</body>
</html>
